package com.sise.netty.手写Tomcat;

import java.io.IOException;

/**
 * @author idea
 * @data 2019/4/25
 */
public class GetUserServlet extends MyServlet {

    @Override
    public void doGet(MyRequest myRequest, MyResponse myResponse) {
        try {
            myResponse.write("[get] get user");
        } catch (IOException e) {
            e.printStackTrace();
        }
    }

    @Override
    public void doPost(MyRequest myRequest, MyResponse myResponse) {
        try {
            myResponse.write("[post] get user");
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
